// $Id: loggerrequestfail.h 65 2004-10-27 21:44:50Z hansemil $
#ifndef LOGGERREQUESTFAIL_H
#define LOGGERREQUESTFAIL_H

#include "loggercount.h"
#include "eos.h"
#include <fstream>

/**
 * @todo Write documentation
 */
class LoggerRequestFail : public Logger {
public:
	LoggerRequestFail();
	void eos_simulate_start(void *);
	void eos_simulate_stop(void *);
	void clock_tick(unsigned int);
	void node_requestFile(void *, void *, bool);

private:
	Eos *m_eos;
	std::fstream m_fout;
	int m_countRequestFail;
	int m_countRequestSuccess;
	int m_countInsertFail;
	int m_countInsertSuccess;
};

#endif
